import { dirname } from 'path';